/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package domein;

/**
 *
 * @author vuokko
 */
public class Episode {
    private String identifier; //S01E15
    private String title; //The whatever one
    private boolean watched;
    
    public Episode(String identifier, String title, boolean watched) {
        this.identifier = identifier;
        this.title = title;
        this.watched = watched;
    }
    
    public boolean isWatched() {
        return watched;
    }
    
    public void setWatched() {
        watched = true;
    }
    
    public void setUnWatched() {
        watched = false;
    }
    
    public String getIdentifier() {
        return identifier;
    }
    
    public String getTitle() {
        return title;
    }
    
    @Override
    public String toString() {
        return identifier + ": " + title;
    }
}
